// 当前环境信息
const env = 'online';

/**
 * 配置信息
 * dev: 开发环境
 * online: 线上环境
 */
const config = {
  dev: {
    // baseURL: 'http://192.168.3.242:10000', // 本地
    baseURL: 'http://121.199.45.66:10000/api',
    upload: 'http://121.199.45.66:10000/upload/',
    ossUrl: 'https://hdjgxcx.oss-cn-hangzhou.aliyuncs.com/',
    previewUrl: 'https://vbuild.ecidihdjg.com:8081/view/onlinePreview',
    videoUrl: 'ezopen://open.ys7.com',
    iconJson: '//at.alicdn.com/t/font_2663834_a1sd2mpoazh.json',
  },
  online: {
    baseURL: 'https://vbuild.ecidihdjg.com:8081/api',
    upload: 'https://vbuild.ecidihdjg.com:8081/upload/',
    ossUrl: 'https://hdjgxcx.oss-cn-hangzhou.aliyuncs.com/',
    previewUrl: 'https://vbuild.ecidihdjg.com:8081/view/onlinePreview',
    videoUrl: 'ezopen://open.ys7.com',
    iconJson: '//at.alicdn.com/t/font_2663834_a1sd2mpoazh.json',
  }
};

export default config[env];
